package br.com.syshealth.clinica.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.persistence.*;

/**
 * Entity implementation class for Entity: Paciente
 *
 */
@Entity
@DiscriminatorValue(value="Paciente")
public class Paciente extends Pessoa implements Serializable {

	@OneToMany(mappedBy="paciente" ,targetEntity = Agenda.class)
	private List<Agenda> consultas = new ArrayList<Agenda>();
	
	  
	private static final long serialVersionUID = 1L;

	


	

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
   
}
